package com.mxpio.erp.quality.policy;

import java.util.List;

import com.mxpio.erp.common.order.policy.AbstractNoticePolicy;
import com.mxpio.erp.common.order.policy.NoticeContext;
import com.mxpio.erp.common.vo.OrderExcuteLineVo;

public class DefaultInQualityOrderNoticePolicy extends AbstractNoticePolicy {
	private List<OrderExcuteLineVo> orderExcuteVos;
	
	public DefaultInQualityOrderNoticePolicy(List<OrderExcuteLineVo> orderExcuteVos) {
		this.orderExcuteVos = orderExcuteVos;
	}
	
	@Override
	public void execute(NoticeContext context) {
		
	}
	
	@Override
	public NoticeContext config(NoticeContext context) {
		context.setOrderExcuteVos(orderExcuteVos);
		return context;
	}

	@Override
	public boolean beforeExecute(NoticeContext context) {
		return true;
	}

	@Override
	public void afterExecute(NoticeContext context) {
		
	}
}
